Skip to content

Conversation

@ASTRAone
Copy link
Contributor

No description provided.

@github-actions
Copy link

Name Status Preview
xi.web ✔️Success✔️ Visit Preview

window.open(url, '_blank', 'noopener,noreferrer');
} else {
// Внутренняя навигация - используем window.location.href
window.location.href = url;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Мне немного не нравится эта история, так как мы используем Tanstack Router и с обычным window location могут быть конфликты в поведении роутинга, переходов назад и вперёд

import { useSearchNotifications } from './useSearchNotifications';

export const useNotifications = () => {
// const navigate = useNavigate();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это кажется забыто

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants